Vb 菜鸟级问题...= =|

来源:百度知道 编辑:UC知道 时间:2024/06/30 10:45:35
...
如果要 Label 每秒增加 1
怎么做...

添加一个Timer 控件,intertal = 1000

sub timer1_timer()
static n as ingeter

label.caption = n

n = n + 1

end sub

sub timer1_timer()
static n as integer
label1.caption = n
n = n + 1
end sub

添加一个Timer 控件,intertal = 1000

楼上的错了两个单词啊!